package demo1.config.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试SpringBoot项目是否创建成功
 */
@RestController
public class TestSpringBoot {
    @RequestMapping("/hello")
    public String hello(){
        return "hello,spring-boot";
    }
}
